import { addAPIProvider } from '@iconify/react';

export function setupIconifyOffline() {
  const PUBLIC_ICONIFY_URL = import.meta.env.PUBLIC_ICONIFY_URL;
  if (PUBLIC_ICONIFY_URL) {
    addAPIProvider('', { resources: [PUBLIC_ICONIFY_URL] });
  }
}
